﻿using AiQiuQuan.Sport.Model.Enums;
using System.ComponentModel.DataAnnotations;

namespace AiQiuQuan.Sport.Model.Models
{
    /// <summary>
    /// 会员更新信息
    /// </summary>
    public class BaseUserUpdateDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Required]
        public Guid ID { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        [Required]
        public string U_NickName { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        [Required]
        public string U_RealName { get; set; }

        /// <summary>
        /// 性别  0：男 1：女 2：未知
        /// </summary>
        public SexEnum? U_Sex { get; set; }

        /// <summary>
        /// 省
        /// </summary>
        public Guid? ProvinceID { get; set; }

        /// <summary>
        /// 省
        /// </summary>
        public string? U_P_Name { get; set; }

        /// <summary>
        /// 市
        /// </summary>
        public Guid? CityID { get; set; }

        /// <summary>
        /// 市
        /// </summary>
        public string? U_C_Name { get; set; }

        /// <summary>
        /// 区县
        /// </summary>
        public Guid? DistrictID { get; set; }

        /// <summary>
        /// 区县
        /// </summary>
        public string? U_D_Name { get; set; }

        /// <summary>
        /// 生日
        /// </summary>
        public DateTimeOffset? U_Birthday { get; set; }
    }
}
